<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<!--[if lt IE 9]>
<script type="text/javascript" src="/public/admin/js/html5.js"></script>
<script type="text/javascript" src="/public/admin/js/respond.min.js"></script>
<script type="text/javascript" src="/public/admin/js/PIE_IE678.js"></script>
<![endif]-->
<link href="/public/admin/css/H-ui.css" rel="stylesheet" type="text/css" />
<link href="/public/admin/css/H-ui.login.css" rel="stylesheet" type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="/public/admin/js/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>系统 V1.1</title>
</head>
<body>
<input type="hidden" id="TenantId" name="TenantId" value="" />
<div class="header"></div>
<div class="loginWraper">
  <div id="loginform" class="loginBox">
   
      <div class="formRow user">
        <input id="manage" name="" type="text" placeholder="账户" class="input_text input-big">
      </div>
      <div class="formRow password">
        <input id="pass" name="" type="password" placeholder="密码" class="input_text input-big">
      </div>
      <div class="formRow yzm">
        <input id='code' name="code" class="input_text input-big" type="text" placeholder="验证码" onBlur="if(this.value==''){this.value='验证码:'}" onClick="if(this.value=='验证码:'){this.value='';}" value="验证码:" style="width:150px;">
        <img src="/?G=admin/hcode"> <a id="kanbuq" href="javascript:;">看不清，换一张</a> </div>
      <div class="formRow">
        <label for="online">
          <input type="checkbox" name="" id="online" value="">
          使我保持登录状态123</label>
      </div>
      <div class="formRow">
        <input id='sets' type="submit" class="btn radius btn-success btn-big" value="&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;">
        <input name="" type="reset" class="btn radius btn-default btn-big" value="&nbsp;取&nbsp;&nbsp;&nbsp;&nbsp;消&nbsp;">
      </div>
   
  </div>
</div>
<div class="footer">系统 V1.0</div>
<script type="text/javascript" src="/public/admin/js/jquery.min.js"></script>
<script type="text/javascript" src="/public/admin/js/H-ui.js"></script>
<script type="text/javascript">
	$(function(){
		$("#kanbuq").click(function(){
			var src=$(this).prev().attr('src');
			$(this).prev().attr('src',src+"&"+Math.random());
		});
	$("#sets").click(function(){

		$.ajax({
	         type: "POST",
	         url: "/?G=admin/logined",
	         data:  {"manage":$('#manage').val(),'pass':$("#pass").val(),'code':$('#code').val()},
	         success:function(data){
	            	if(data=='ok'){
		            	location="/?G=admin/main";
	            	}else{
						alert(data);
		            }
	         }
	     });

	});
		
			
	});
</script>
</body>
</html>